package cn.krui.project.bean.article;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/6/11 16:42:21
 */
@ApiModel(value = "qr_article_model_6", description = "内容_模型_文章")
@TableName(value = "qr_article_model_6")
public class ArticleModel6 {
	@ApiModelProperty(value = "内容id")
	@TableId(type = IdType.INPUT,value = "article_id")
	@NotNull(message = "内容id不能为空")
	private Integer article_id;
	@ApiModelProperty(value = "多个tag逗号隔开")
	@TableField(value="tags")
	private String tags;
	@ApiModelProperty(value = "作者")
	@TableField(value="author")
	private String author;
	@ApiModelProperty(value = "年代")
	@TableField(value="dynasty")
	private String dynasty;
	@ApiModelProperty(value = "摘要")
	@TableField(value="summary")
	private String summary;
	@ApiModelProperty(value = "单图上传")
	@TableField(value="icon")
	private String icon;
	@ApiModelProperty(value = "列表图")
	@TableField(value="icon1")
	private String icon1;
	@ApiModelProperty(value = "分享图")
	@TableField(value="icon2")
	private String icon2;
	@ApiModelProperty(value = "手机banner图")
	@TableField(value="icon3")
	private String icon3;
	@ApiModelProperty(value = "手机列表图")
	@TableField(value="icon4")
	private String icon4;
	@ApiModelProperty(value = "标题图")
	@TableField(value="icon5")
	private String icon5;
	@ApiModelProperty(value = "内容图")
	@TableField(value="icon6")
	private String icon6;
	@ApiModelProperty(value = "类型图")
	@TableField(value="icon7")
	private String icon7;
	@ApiModelProperty(value = "上一篇id")
	@TableField(value="pre_id")
	private Integer pre_id;
	@ApiModelProperty(value = "下一篇id")
	@TableField(value="next_id")
	private Integer next_id;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getArticle_id() {
		return article_id;
	}
	public void setArticle_id(Integer article_id) {
		this.article_id = article_id;
	}
 
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
 
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
 
	public String getDynasty() {
		return dynasty;
	}
	public void setDynasty(String dynasty) {
		this.dynasty = dynasty;
	}
 
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
 
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
 
	public String getIcon1() {
		return icon1;
	}
	public void setIcon1(String icon1) {
		this.icon1 = icon1;
	}
 
	public String getIcon2() {
		return icon2;
	}
	public void setIcon2(String icon2) {
		this.icon2 = icon2;
	}
 
	public String getIcon3() {
		return icon3;
	}
	public void setIcon3(String icon3) {
		this.icon3 = icon3;
	}
 
	public String getIcon4() {
		return icon4;
	}
	public void setIcon4(String icon4) {
		this.icon4 = icon4;
	}
 
	public String getIcon5() {
		return icon5;
	}
	public void setIcon5(String icon5) {
		this.icon5 = icon5;
	}
 
	public String getIcon6() {
		return icon6;
	}
	public void setIcon6(String icon6) {
		this.icon6 = icon6;
	}
 
	public String getIcon7() {
		return icon7;
	}
	public void setIcon7(String icon7) {
		this.icon7 = icon7;
	}
 
	public Integer getPre_id() {
		return pre_id;
	}
	public void setPre_id(Integer pre_id) {
		this.pre_id = pre_id;
	}
 
	public Integer getNext_id() {
		return next_id;
	}
	public void setNext_id(Integer next_id) {
		this.next_id = next_id;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}